package com.baic.ibasedeviceclient.config;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttConfig {

    private String url ;
    private String username ;
    private String password ;
    private String publishTopic ;

    private String subscribeTopic ;

    private int publishQos ;

    private int subscribeQos ;

    public String pubClientId;

    public String subClientId;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPublishTopic() {
        return publishTopic;
    }

    public void setPublishTopic(String publishTopic) {
        this.publishTopic = publishTopic;
    }

    public String getSubscribeTopic() {
        return subscribeTopic;
    }

    public void setSubscribeTopic(String subscribeTopic) {
        this.subscribeTopic = subscribeTopic;
    }

    public int getPublishQos() {
        return publishQos;
    }

    public void setPublishQos(int publishQos) {
        this.publishQos = publishQos;
    }

    public int getSubscribeQos() {
        return subscribeQos;
    }

    public void setSubscribeQos(int subscribeQos) {
        this.subscribeQos = subscribeQos;
    }

    public String getPubClientId() {
        return pubClientId;
    }

    public void setPubClientId(String pubClientId) {
        this.pubClientId = pubClientId;
    }


















}
